package com.baizhi.service.impl;

import com.baizhi.entity.Class;
import com.baizhi.mapper.ClassMapper;
import com.baizhi.service.IClassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhangsan
 * @since 2022-03-08
 */
@Service
public class ClassServiceImpl extends ServiceImpl<ClassMapper, Class> implements IClassService {
    @Override
    public List<Class> selectClassAndTeacher() {
        return baseMapper.selectClassAndTeacher();
    }
}
